package com.ruoyi.project.system.inspectreport.mapper;

import com.ruoyi.project.system.inspectreport.domain.InspectReport;

import java.util.List;

/**
 * 检验报告Mapper接口
 * 
 * @author LCL
 * @date 2020-12-11
 */
public interface InspectReportMapper 
{
    /**
     * 查询检验报告
     * 
     * @param id 检验报告ID
     * @return 检验报告
     */
    public InspectReport selectInspectReportById(String id);

    /**
     * 查询检验报告列表
     * 
     * @param inspectReport 检验报告
     * @return 检验报告集合
     */
    public List<InspectReport> selectInspectReportList(InspectReport inspectReport);

    /**
     * 新增检验报告
     * 
     * @param inspectReport 检验报告
     * @return 结果
     */
    public int insertInspectReport(InspectReport inspectReport);

    /**
     * 修改检验报告
     * 
     * @param inspectReport 检验报告
     * @return 结果
     */
    public int updateInspectReport(InspectReport inspectReport);

    /**
     * 删除检验报告
     * 
     * @param id 检验报告ID
     * @return 结果
     */
    public int deleteInspectReportById(String id);

    /**
     * 批量删除检验报告
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteInspectReportByIds(String[] ids);
}
